﻿using System;
using System.ComponentModel;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Common;

namespace Models
{
    public partial class admin_account
    {
        public string GetAdminType()
        {
            return EnumHelper.Extentions.GetDescription(typeof(AdminType), usertype);
        }
    }

    public enum AdminType
    {
        /// <summary>
        /// 会议管理员
        /// </summary>
        [Description("会议管理员")]
        MeetingAdmin = 0,

        /// <summary>
        /// 系统管理员
        /// </summary>
        [Description("超级管理员")]
        SystemAdmin = 1
    }
}
